import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function listDefined(query) {
  return request({
    url: '/business/paramdefined/list',
    method: 'get',
    params: query
  })
}

// 查询【请填写功能名称】详细
export function getDefined(rowguid) {
  return request({
    url: '/business/paramdefined/' + rowguid,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export function addDefined(data) {
  return request({
    url: '/business/paramdefined',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateDefined(data) {
  return request({
    url: '/business/paramdefined',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export function delDefined(rowguid) {
  return request({
    url: '/business/paramdefined/' + rowguid,
    method: 'delete'
  })
}

// 创建表结构
export function createTable(performancetypeguid) {
  return request({
    url: '/business/paramdefined/' + performancetypeguid,
    method: 'post'
  })
}
